package com.fh.shop.api.order.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel
public class OrderDetail implements Serializable {

    @ApiModelProperty(value = "明细表ID",example = "0")
    private Long id;
    @ApiModelProperty(value = "订单ID",example = "0")
    private String orderId;
    @ApiModelProperty(value = "商品ID",example = "0")
    private Long productId;
    @ApiModelProperty(value = "商品名称")
    private String productName;
    @ApiModelProperty(value = "图片")
    private String image;
    @ApiModelProperty(value = "商品单价")
    private BigDecimal price;
    @ApiModelProperty(value = "商品个数")
    private Long count;
    @ApiModelProperty(value = "商品小计")
    private BigDecimal subPrice;

}
